package cn.lasse.design.bank.service;

import cn.lasse.design.bank.IBank;
import cn.lasse.design.model.AmericanMoney;

/**
 * @author Lasse
 */
public class AmericanService implements IBank {
   @Override
   public Integer exchange(Integer rmb){
       AmericanMoney americanMoney = new AmericanMoney(rmb / 2);
       return americanMoney.getMoney();
    }

}
